##parameters=modelIdentity,linkFromAssessmentIdentity,linkFromComponentIdentity,isPopup=False

exitURL = "Link_newassessmentjoin?assessmentIdentity=%%s&linkFromAssessmentIdentity=%s&linkFromComponentIdentity=%s" % \
          ( linkFromAssessmentIdentity, linkFromComponentIdentity )

if isPopup:
    exitURL += "&isPopup=1"

model = context.getComponentByIdentity( modelIdentity )
return model.assessment_quickstart( exitURL=exitURL, isPopup=isPopup )